package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 床位信息对象 bed_info
 */
public class BedInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 床位ID */
    private Long id;

    /** 床位名称 */
    @Excel(name = "床位名称")
    private String bedName;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private String bedCode;

    /** 所属房间ID */
    @Excel(name = "所属房间ID")
    private Long roomId;

    /** 床位类型（1上铺 2下铺） */
    @Excel(name = "床位类型", readConverterExp = "1=上铺,2=下铺")
    private String bedType;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属房间名称 */
    @Excel(name = "所属房间")
    private String roomName;

    @Excel(name = "所属楼宇ID")
    private Long buildingId;

    @Excel(name = "所属楼宇名称")
    private String buildingName;

    public Long getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBedName(String bedName) {
        this.bedName = bedName;
    }

    public String getBedName() {
        return bedName;
    }

    public void setBedCode(String bedCode) {
        this.bedCode = bedCode;
    }

    public String getBedCode() {
        return bedCode;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setBedType(String bedType) {
        this.bedType = bedType;
    }

    public String getBedType() {
        return bedType;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bedName", getBedName())
            .append("bedCode", getBedCode())
            .append("roomId", getRoomId())
            .append("bedType", getBedType())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("roomName", getRoomName())
            .toString();
    }
} 